package com.zjhn.ds.domain.entity.jlw;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.entity.jlw
 * @Author: sxt
 * @CreateTime: 2023-09-06  14:55
 * @Description: 分组工位
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("jlw.jlw_group_station")
public class GroupStation {

    @TableId
    private String id;

    /**
     * 分组id
     */
    @TableField("group_id")
    private String groupId;

    /**
     * 工位id
     */
    @TableField("station_id")
    private String stationId;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT, value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private Date createTime;

    /**
     * 逻辑删除
     */
    private Integer deleted;

}
